//
//  MainViewViewController.m
//  IOSFrameWork
//
//  Created by My Tran on 6/6/14.
//  Copyright (c) 2014 mtoanmy. All rights reserved.
//

#import "MainViewViewController.h"
#import "TableVC.h"
#import "LoginFBVC.h"

@interface MainViewViewController ()

@end

@implementation MainViewViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

//- (void)viewWillAppear:(BOOL)animated
//{
//    [self viewWillAppear:animated];
//    
//}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)onLoginFb:(UIButton *)sender
{
    NSLog(@"onLoginFb");
    
    LoginFBVC *vc = [[LoginFBVC alloc] initWithNibName:@"LoginFBVC" bundle:nil];
    [self.navigationController pushViewController:vc animated:YES];
}

- (IBAction)onAnimation:(UIButton *)sender
{
    NSLog(@"onAnimation");
    
}

- (IBAction)onCircleImgView:(UIButton *)sender
{
    NSLog(@"onCircleImgView");
    
}

- (IBAction)onCircleRunningProgressBar:(UIButton *)sender
{
    NSLog(@"onCircleRunningProgressBar");
    
}

- (IBAction)onCustomSeekbar:(UIButton *)sender
{
    NSLog(@"onCustomSeekbar");
    
}

- (IBAction)onParseJson:(UIButton *)sender
{
    NSLog(@"onParseJson");
    
}

- (IBAction)onTableMultiView:(UIButton *)sender
{
    NSLog(@"onTableMultiView");
    
}

- (IBAction)onTableView:(UIButton *)sender
{
    NSLog(@"onTableView");
    
    TableVC *vc = [[TableVC alloc] initWithNibName:@"TableVC" bundle:nil];
    [self.navigationController pushViewController:vc animated:YES];
}

- (IBAction)onTimer:(UIButton *)sender
{
    NSLog(@"onTimer");
    
}

@end
